* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media screen and (min-width: 968px) {
  #index {
    position: relative;

    // 导航开始
    .nav {
      width: 100%;
      position: absolute;
      z-index: 888;
      background: rgba($color: #000000, $alpha: 0.2);

      .nav-box {
        width: 90%;
        margin: auto;
        display: flex;
        // justify-content: space-between;
        align-items: center;

        .none {
          display: none;
        }

        .nav-content {
          width: 20%;
        }

        .none1 {
          width: 100%;

          img {
            width: 100%;
            // height: 60px;
            display: block;
          }
        }

        .none2 {
          display: none;
        }

        .uls {
          width: 100%;

          ul {
            display: flex;
            list-style: none;
            width: 100%;

            li {
              width: 10%;
              // border: 1px solid red;
              text-align: center;
              position: relative;
              height: 60px;
              line-height: 60px;
              a {
                text-decoration: none;
                color: #fff;
                width: 10%;
                font-weight: bold;
                .ulnone {
                  position: absolute;
                  display: none;
                  width: 100%;
                  background-color: #fff;
                  height: 100px;
                  padding-top: 10px;

                  li {
                    width: 100%;
                    height: 40px;
                    line-height: 40px;
                    color: #000;
                  }
                  li:hover{
                    background-color: #e9ecef;
                  }
                }
              }

            }

            li:hover {
              .ulnone {
                z-index: 999;
                display: block;
              }
            }
          }
        }
      }
    }

    // 导航结束
    // banner图开始
    .banner {
      .tdesign-demo-block--swiper {
        img {
          width: 100%;
          height: 650px;
        }
      }
    }

    // banner图结束
    // 院部新闻开始
    .news {
      width: 90%;
      margin: auto;

      .news-content {
        .news1 {
          width: 100%;
          display: flex;
          text-align: center;
          justify-content: space-between;

          .news-left {
            width: 49%;
            height: 350px;

            .none1 {
              display: none;
            }

            .image3 {
              width: 100%;
              height: 350px;
            }
          }

          .news-right {
            height: 350px;
            border: 1px solid #f1f1f1;
            border-radius: 10px;
            width: 49%;

            .top {
              font-weight: bold;
              text-align: left;
              padding: 15px;
              font-size: 24px;
              height: 60px;
            }

            .top-none1 {
              display: none;
            }

            .center {
              display: flex;
              align-items: center;
              padding: 15px;
              justify-content: space-between;

              .border {
                width: 70%;
                border-bottom: 2px solid #e3e3e3;
              }

              .time {
                color: #d33939;
                padding: 10px;
                width: 30%;
              }
            }

            .bottom {
              text-align: left;
              padding: 15px;
              color: #000;
              font-size: 20px;
              z-index: 999;
              height: 120px;
            }

            .bottom-none1 {
              display: none;
            }

            .bottom-img {
              display: flex;
              justify-content: space-between;
              padding-top: 15px;
              padding-left: 15px;
              padding-right: 15px;

              .bottom-left {
                img {
                  width: 40px;
                  height: 40px;
                }

                img:nth-child(1) {
                  transform: rotate(180deg);
                  margin-left: 10px;
                  margin-right: 10px;
                }

                img:hover {
                  filter: drop-shadow(0 0 0 red);
                }
              }

              .bottom-right {
                span {
                  color: #c60000;
                  font-size: 24px;
                }
              }
            }
          }
        }
      }

      .news-bottom {
        display: flex;
        justify-content: space-between;
        margin-top: 40px;

        .bottom-content {
          width: 32%;
          border: 1px solid #f8f8f8;
          padding: 15px;

          .content-top {
            font-size: 18px;
          }

          .content-bottom {
            display: flex;
            justify-content: right;
            margin-top: 20px;
            margin-bottom: 20px;
            color: #d54646;

            img {
              width: 20px;
            }
          }
        }

        .bottom-content:hover {
          background-color: #edabac;
        }
      }
    }

    // 院部新闻结束
    // 党团建设开始
    .build {
      background-color: #f9f9f9;

      .build-content {
        display: flex;
        justify-content: space-between;
        // border: 1px solid red;
        width: 90%;
        margin: auto;
        margin-top: 10px;

        .more-none {
          display: none;
        }

        .build-none1 {
          display: none;
        }

        .build-left {
          .left-content {
            // border: 1px solid red;
            display: flex;
            font-size: 20px;
            margin-top: 25px;

            .content-left {
              background-color: #c90000;
              width: 40%;
              text-align: center;
              padding: 2%;
              color: #fff;

              .left-top {
                font-size: 28px;
              }

              .left-bottom {
                font-size: 16px;
              }
            }

            .content-right {
              padding: 5px;
              padding-top: 10px;
              background-color: #fff;
              border: 1px solid #f4f4f4;
            }
          }
        }
      }
    }

    // 党团建设结束
    // 技能大赛开始
    .jineng {
      width: 90%;
      margin: auto;

      .jineng-box {
        display: none;
      }

      .jineng-content {
        .tdesign-demo-block--swiper {
          text-align: center;
        }
      }
    }

    // 技能大赛结束
    // 教研开始
    .jiaoyan {
      margin-top: 30px;
      padding-top: 20px;
      position: relative;
      // overflow: hidden;

      .background {
        width: 100%;
        height: 600px;
      }

      .jiaoyan-box {
        position: absolute;
        top: 20px;

        .content {
          width: 90%;
          margin: auto;
          display: flex;
          justify-content: space-between;
          text-align: center;
          padding-top: 60px;

          .box1 {
            width: 22%;
            border-radius: 10px;
            overflow: hidden;

            .top {
              position: relative;
              height: 200px;

              img {
                width: 100%;
                height: 200px;
              }

              .font {
                position: absolute;
                top: 0;
                width: 100%;
                text-align: center;
                background-color: rgba($color: #8c9399, $alpha: 0.5);
                color: #fff;
                height: 101%;
                padding-top: 70px;
                font-size: 20px;
              }
            }

            .bottom {
              padding-top: 50px;
              padding: 25px;
              background-color: #fff;
              height: 120px;
              // position: absolute;
            }
          }

          .box1:hover {
            margin-top: -20px;

            .bottom {
              border-bottom-left-radius: 10px;
              border-bottom-right-radius: 10px;
            }

            .font {
              background-color: rgba($color: #eca6a6, $alpha: 0.5);
            }
          }
        }

        .jiaoyan-content {
          margin-top: 30px;
          margin-bottom: 30px;
          background: linear-gradient(to top, #f8f8f8, #d6d6d6);
          -webkit-background-clip: text;
          background-clip: text;
          color: transparent;
          font-size: 22px;
          text-align: center;
          position: relative;
          font-weight: bold;

          .jiaoyancolor {
            font-weight: bold;
            font-size: 30px;
            color: #ca1818;
            position: absolute;
            right: 46%;
            top: -8px;
          }
        }
      }
    }

    // 教研结束
    // 学生动态开始
    .xuesheng {
      width: 90%;
      margin: auto;

      .xuesheng-box {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .xuesheng-left {
          width: 49%;
          position: relative;
          height: 400px;
          border-radius: 10px;
          overflow: hidden;

          img {
            width: 100%;
            height: 400px;
          }

          .font {
            position: absolute;
            text-align: center;
            top: 20px;
            left: 35px;
            color: #fff;
            width: 90%;
            margin: auto;
            height: 90%;
            border: 1px solid #fff;

            .font-top {
              font-size: 20px;
              margin-top: 150px;
            }

            .btn {
              background-color: #e7a125;
              width: 15%;
              height: 40px;
              line-height: 40px;
              // text-align: center;
              margin: auto;
            }
          }
        }

        .xuesheng-right {
          width: 49%;
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          height: 400px;

          .for {
            width: 49%;
            position: relative;
            margin-bottom: 20px;
            border-radius: 10px;
            // border: 1px solid red;
            overflow: hidden;

            // border: 1px sol red;
            .img {
              height: 190px;
            }

            img {
              width: 100%;
              height: 190px;
              // overflow: hidden;
            }

            .font {
              position: absolute;
              bottom: -2px;
              text-align: center;
              width: 100%;
              height: 40px;
              line-height: 40px;
              background-color: rgba($color: #000000, $alpha: 0.3);
              color: #fff;
            }
          }
        }
      }

      .lianjie {
        display: flex;

        // justify-content: space-between;
        div {
          padding: 20px;
        }

        .lianjie-left {
          font-weight: bold;
          font-size: 18px;
        }
      }
    }

    // 学生动态结束
    // 尾部开始
    .foot {
      position: relative;

      .img {
        width: 100%;
        height: 300px;
      }

      .foot-box {
        position: absolute;
        top: 20px;
        width: 100%;

        .foot-content {
          display: none;
        }

        .foot-top {
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 90%;
          margin: auto;

          .foot-left {
            color: #fff;
            padding: 10px;

            .left1 {
              font-size: 20px;
              margin-bottom: 10px;
            }

            .left2 {
              margin-bottom: 8px;
            }
          }

          .foot-center {
            width: 50%;

            img {
              width: 100%;
              height: 100px;
            }
          }

          .foot-none1 {
            display: none;
          }

          .foot-right {
            text-align: center;
            width: 20%;

            img {
              width: 40px;
              height: 40px;
              margin-right: 40px;
            }
          }
        }

        .foot-bottom {
          text-align: center;
          margin-top: 30px;
          color: #cd7979;
        }
      }
    }

    // 尾部结束
  }
}